package net.maku.maku.query;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import net.maku.framework.common.query.Query;
import net.maku.framework.common.utils.DateUtils;

import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@Schema(description = "数据统计查询类")
public class AnalysisQuery extends Query {
    @Schema(description = "起始时间")
    @JsonFormat(pattern = DateUtils.DATE_PATTERN)
    private Date start_time;

    @Schema(description = "结束时间")
    @JsonFormat(pattern = DateUtils.DATE_PATTERN)
    private Date end_time;


    @Schema(description = "销售")
    private String creator;

    @Schema(description = "来源分析")
    private String origin;
}